//
//  RxSwiftCell.swift
//  test-ios
//
//  Created by wyz5204 on 2023/4/14.
//

import Foundation
import UIKit

class RxSwiftCell : AbstractCollectionViewCell<String>{
    
    lazy var title = {
        return UILabel().then { view in
            view.textColor = .black
            view.text = "Null"
        }
    }()
    
    override func initView() {
        title.addTo(self.contentView) { view in
            view.snp.makeConstraints { make in
                make.edges.equalToSuperview()
            }
        }
    }
    
    override func initBinder(_ view: UICollectionView, _ data: String, _ index: IndexPath) {
        title.text = data
    }
}
